package com.anjbo.common;

import com.anjbo.utils.ConfigUtil;


public class Constants {
	/**登录Key**/
	public static final String LOGIN_USER_KEY = "LOGIN_WXCX_USER";
	/**发送短信来源**/
	public static final String SMSCOMEFROM = "wxcx-";
	public static final String SMSCOMEFROM_TEST="test";//测试
	/**发送短信来源**/



	/** 品牌标示 */
	public static String BRAND_ID = "kc";
	/** 注册默认邀请人 */
	public static String DEFAULT_INVITE_BY = "631";
	/** 注册默认邀请方式 */
	public static String DEFAULT_INVITE_FLAG = "1";

	/** session中的user */
	public static final String SESSION_USER = "guolingsessionuser";

	/** session中的最后登录时间 */
	public static final String LAST_LOGIN_TIME = "lastlogintime";

	/** session中的member */
	public static final String SESSION_MEMBER = "sessionmember";

	public static final String SESSION_MEMBER_ID = "sessionmemberid";

	/** session中的sid */
	public static final String SESSION_SID = "sessionsid";
	/** session中的deviceId */
	public static final String SESSION_DEVICEID = "sessiondeviceid";

	/**
	 * AMS （账号管理服务器）接口后缀
	 */
	public static final String AMS_SERVICE_SUFFIX = ".act?";
	/**
	 * SHIFU （师傅网）接口后缀
	 */
	public static final String SHIFU_SERVICE_SUFFIX = ".act?";
	/**
	 * QY （企业网）接口后缀
	 */
	public static final String QY_SERVICE_SUFFIX = ".act?";
	/**
	 * SJS （设计师网）接口后缀
	 */
	public static final String SJS_SERVICE_SUFFIX = ".act?";

	/**
	 * 绑定手机下发验证码session中的key,常量+uid
	 */
	public static final String LIMIT_BINDPHONE_CODE = "limit_bindphone_code";

	/**
	 * SAS （推广服务器） 系统服务后缀
	 */
	public static final String SAS_SERVICE_SUFFIX = ".act?";

	/**
	 * SMS （短信服务器）系统服务后缀
	 */
	public static final String SMS_SERVICE_SUFFIX = ".php?";

	/**
	 * GIFT （特权服务器）系统服务后缀
	 */
	public static final String GIFT_SERVICE_SUFFIX = "?";

	/**
	 * ORDER （订单服务器）系统服务后缀
	 */
	public static final String ORDER_SERVICE_SUFFIX = ".php?";

	/**
	 * BC （BC服务器）系统服务后缀
	 */
	public static final String BC_SERVICE_SUFFIX = "?";

	/**
	 * bc 成功标示
	 */
	public static final int BC_SUCCESS_CODE = 0;

	/**
	 * BC 系统话单查询最大 pagenums
	 */
	public static final String BC_MAX_PAGENUMS = "100";

	/**
	 * AMS （账号管理服务器）返回正确结果标示码
	 */
	public static final String AMS_SUCCESS_CODE = "0";

	/**
	 * SAS （推广服务器）返回正确结果标示码
	 */
	public static final int SAS_SUCCESS_CODE = 0;

	/**
	 * SMS （短信服务器）返回正确结果标示码
	 */
	public static final String SMS_SUCCESS_CODE = "1000";

	/**
	 * GIFT （短信服务器）返回正确结果标示码
	 */
	public static final int GIFT_SUCCESS_CODE = 0;

	/**
	 * ams注册 加密密匙
	 */
	public static final String RC4_AMS_KEY = "1bb762f7ce24ceee";

	/**
	 * ams注册 加密密匙
	 */
	public static final byte[] RC4_AMS_KEY_BYTE = RC4_AMS_KEY.getBytes();
	/**
	 * 33926 IOS下载链接
	 */
	public static final String KC_CHANNEL_IPHONE = "http://kcoo.cn/eUB77r";

	/**
	 * 如果请求次数超限，返回错误码
	 */
	public static final int ERROR_CODE_MAX_LIMIT = -202;

	/**
	 * 系统异常
	 */
	public static final int ERROR_CODE_SYSTEM_ERROR = -1;
	/**
	 * 注册sessionName
	 */
	public static final String REGISTER_SESSION_NAME = "REGISTER_SESSION_NAME";
	/**
	 * mobile
	 */
	public static final String REGISTER_MOBILE = "mobile";
	/**
	 * email
	 */
	public static final String REGISTER_EMAIL = "email";
	/**
	 * authCode
	 */
	public static final String REGISTER_AUTHCODE = "authCode";
	/**
	 * password
	 */
	public static final String REGISTER_PASSWORD = "password";
	/**
	 * loginTimeOut
	 */
	public static final String LOGIN_TIME_OUT = "loginTimeOut";
	/**
	 * time
	 */
	public static final String LOGIN_TIME = "time";
	/**
	 * number
	 */
	public static final String LOGIN_NUMBER = "number";
	/**
	 * attack
	 */
	public static final String LOGIN_ATTACK = "attack";
	/**
	 * attack_time
	 */
	public static final String LOGIN_ATTACK_TIME = "attack_time";
	/**
	 * attack_number
	 */
	public static final String LOGIN_ATTACK_NUMBER = "attack_number";
	/**
	 * account
	 */
	public static final String LOGIN_ACCOUNT = "account";
	/**
	 * userDto
	 */
	public static final String FIND_PWD_USERDTO = "userDto";
	/**
	 * 把浏览初始化的时间存入session
	 */
	public static final String SESSION_CASE_TIME = "case_time";
	/**
	 * attack_click
	 */
	public static final String ATTACK_CLICK = "attack_click";
	/**
	 * attack_click_time
	 */
	public static final String ATTACK_CLICK_TIME = "attack_click_time";

	public static final String SPLIT_MARK = "mark";
	/**
	 * 图片尾缀
	 */
	public static final String FSIMGTEMP = "50_50";

	/**
	 * 默认模板
	 */
	public static final int CASE_GRADE = 3;
	/**
	 * 默认风格
	 */
	public static final int CASE_STYLE = 4;

	/**
	 * 默认登录方式:手机号码登录
	 */
	public static final String DEF_LOGIN_TYPE = "1";
	// 图片上传路径
	public static final String BASE_IMGUPLOAD_PATH = "/mortgage/";
	//
	public static final String TZC_USERID = "wxjyAdmin";
	public static final String TZC_PASSWORD = "Wxjy001";
	public static final String TZC_SECRET_KEY = "619a3096c1d34793aff00b6bc62b043d";
	//
	public static final String WORLDUNION_USERID = "ttj";
	public static final String WORLDUNION_PASSWORD = "ttj";
	// 同致诚
	public static final int ENQUIRY_TZC_RATE_MAX = 100;
	// 世联
	public static final int ENQUIRY_SL_RATE_MAX = 100;

	// 各大银行ID
	public static final String BANK_ICBC = "3";// 工行
	public static final String BANK_ABC = "5";// 农行
	public static final String BANK_CCB = "6";// 建行
	public static final String BANK_CMB = "1";// 招行
	public static final String BANK_BOB = "43";// 北京
	public static final String BANK_BCM = "14";// 交通
	public static final String BANK_PSBC = "67";// 邮政
	public static final String BANK_MORTGAGE = "190";// 快鸽按揭
	public static final String[] BANKIDARR = new String[] { BANK_ICBC,
			BANK_ABC, BANK_CCB, BANK_CMB, BANK_BOB, BANK_BCM, BANK_PSBC };

	public static final String SMS_FLAG_1 = "1";// 注册时发送短信
	public static final String SMS_FLAG_2 = "2";// 忘记密码时发送短信
	public static final String SMS_FLAG_3 = "3";// 新增订单
	public static final String SMS_FLAG_4 = "4";// 修改订单
	public static final String SMS_FLAG_5 = "5";// 按揭宝注册时发送短信
	public static final String SMS_FLAG_6 = "6";// 按揭宝忘记密码时发送短信
	public static final String SMS_FLAG_7 = "7";// 红本抵押预估发送短信

	public static final String ALIPAY = "alipay";
	public static final String WXPAY = "wxpay";
	public static final String DEVICE_IOS = "iOS";// 苹果手机端
	public static final String DEVICE_ANDROID = "Android";// 安卓手机端
	public static final String DEVICE_WEIXIN = "WeiXin";// 微信端
	public static final String DEVICE_WAP = "wap";// wap端
	public static final String DEVICE_WEB = "web";// pc端
	public static final String DEVICE_NAN = "NaN";// 未知设备

	public static final String SMSCOMEFROM_REG = "mortgage-reg";
	public static final String SMSCOMEFROM_FORGETPWD = "mortgage-forgetpwd";
	public static final String SMSCOMEFROM_REGCOUPON = "mortgage-regcoupon";
	public static final String SMSCOMEFROM_RECEIVE50COUPON = "mortgage-receive50coupon";
	public static final String SMSCOMEFROM_LOAN = "mortgage-loan";
	public static final String SMSCOMEFROM_ASSESS = "mortgage-assess";
	public static final String SMSCOMEFROM_ORDER = "mortgage-order";
	public static final String SMSCOMEFROM_COSHREDEMOTION = "mortgage_coshredemotion";
	public static final String SMSCOMEFROM_TO_Login="mortgage-to-login";
	public static final String SMSCOMEFROM_WX_PRODUCT="mortgage-wx-product";
	// 统计接口地址
	public static final String STATISTICS_URL =ConfigUtil.getStringValue("STATISTICS_URL", "http://st.xiaoniu365.com/");
	//评估节点完成发送短信
	public static final String SMS_AS_PHONE="15889894759";  //蔡琼婵
	public static final String SMS_AS_SURVEYINFO="sms_as_surveyinfo";
}
